'''
Created on 2009-11-9

@author: dell
'''
from google.appengine.api import users
from mod.member import Member
class UserFac():
    '''
    classdocs
    '''
    
    def getUser(self,papp):
        
        user = users.get_current_user()
        if user:
            member = Member().getMember(user) 
            return member
        else:
            papp.redirect(users.create_login_url(papp.request.uri))
        